<?php

namespace common\validate;

class ProjectDelayConfirmConfig extends BaseValidate
{
    // 验证规则
    protected $rule = [];

    // Select 验证场景定义
    public function sceneSelect()
    {
        return $this->append('param.project_id', 'require|integer');
    }

    // Save 验证场景定义
    public function sceneSave()
    {
        return $this->append('data.project_id', 'require|integer')
            ->append('data.step_category_id', 'require|integer')
            ->append('data.confirm_user_id_list', 'array');
    }
}
